<!DOCTYPE html>
<html>
    <?
    include 'web/header.phtml';
    ?>
    <body>

        <?
        include 'web/body.header.phtml';
        include 'web/body.menu.phtml';
        ?>

        <div id="page">
                        
            <form id='login' action='account.php' method='get' accept-charset='UTF-8' class="account-login">
                <input type="hidden" name="do" value="login" />
                <fieldset >
                    <legend>
                        Login
                    </legend>

                    <input type='hidden' name='submitted' id='submitted' value='1'/>

                    <div class='container'>
                        <label for='username' >UserName:</label>
                        <input type='text' name='username' id='username' value="<?echo $_REQUEST['username']?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='password' >Password:</label>
                        <input type='password' name='password' id='password' maxlength="50" />
                    </div>

                    <div class='container'>
                        <label>&nbsp;</label>
                        <input type='submit' name='Submit' value='Submit' />
                        <a href=''>Forgot Password?</a>                        
                    </div>
                    <p><?echo $loginmessage?></p>
                </fieldset>
            </form>

            <form id='regist' action='account.php' method='get' accept-charset='UTF-8' class="account-login">
                <input type="hidden" name="do" value="regist" />
                <fieldset >
                    <legend>
                        Regist
                    </legend>

                    <input type='hidden' name='submitted' id='submitted' value='1'/>

                    <div class='container'>
                        <label for='username' >UserName:</label>
                        <input type='text' name='username' id='username' value="<?=$username?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='Name' >Name:</label>
                        <input type='text' name='Name' id='Name' value="<?=$Name?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='password' >Password:</label>
                        <input type='password' name='Password' id='Password' maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='Password2' >Confirm Password:</label>
                        <input type='password' name='Password2' id='Password2' maxlength="50" />
                    </div>

                    <div class='container'>
                        <label for='Phone' >Phone:</label>
                        <input type='text' name='Phone' id='Phone' value="<?=$Phone?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='Email' >Email:</label>
                        <input type='text' name='Email' id='Email' value="<?=$Email?>" maxlength="50" />

                    </div>
                    <div class='container'>
                        <label for='Birthday' >Birthday:</label>
                        <input type='text' name='Birthday' id='Birthday' value="<?=$Birthday?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='Address' >Address:</label>
                        <input type='text' name='Address' id='Address' value="<?=$Address?>" maxlength="50" />
                    </div>
                    <div class='container'>
                        <label for='About' >About:</label>
                        <textarea name="About" id="About"><?=$About?></textarea>
                    </div>
                    <div class='container'>
                        <label>&nbsp;</label>
                        <input type='submit' name='Submit' value='Submit' /><br />                        
                    </div>
                    <p><?echo $regmessage?></p>
                </fieldset>
            </form>

            <?
            include 'web/body.wrapper.phtml';
            ?>
    </body>
</html>

